import request from "@/utils/request"

export function tagList(params = {}) {
	return request.get("audio/tagAll", {
		params: params
	}).then(res => {
		return res
	})
}

export function audioList(params = {}) {
	return request.get("audio/audioList", {
		params: params
	}).then(res => {
		return res
	})
}

export function audioContent(params = {}) {
	return request.get("audio/audioContent", {
		params: params
	}).then(res => {
		return res
	})
}

export function audioShare(params) {
	return request.post("audio/audioShare", params).then(res => {
		return res
	})
}

export function audioCollection(params) {
	return request.post("audio/audioCollection", params).then(res => {
		return res
	})
}